@using SiteServer.CMS.Api
<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8" />
  <title>SiteServer 管理后台</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <link href="../assets/images/favicon.png" rel="icon" type="image/png">
  <link href="../assets/css/bootstrap-4.0.0.min.css?v=6.4.1" rel="stylesheet" type="text/css" />
  <link href="../assets/css/ionicons-2.0.0.min.css?v=6.4.1" rel="stylesheet" type="text/css" />
  <link href="../assets/css/core.css?v=6.4.1" rel="stylesheet" type="text/css" />
  <link href="../assets/css/components.css?v=6.4.1" rel="stylesheet" type="text/css" />
  <link href="../assets/css/pages.css?v=6.4.1" rel="stylesheet" type="text/css" />
  <link href="../assets/css/menu.css?v=6.4.1" rel="stylesheet" type="text/css" />
  <link href="../assets/css/responsive.css?v=6.4.1" rel="stylesheet" type="text/css" />
</head>

<body>
  <div id="main" class="m-t-15 m-b-15 m-l-15 m-r-15">

    <template v-if="pageLoad">
      @RenderSection("Navs")

      <div v-if="pageAlert" class="alert" v-bind:class="{ 'alert-warning': pageAlert.type === 'warning', 'alert-success': pageAlert.type === 'success', 'alert-danger': pageAlert.type === 'danger' }">
        <button v-on:click="pageAlert = null" class="close" data-dismiss="alert">×</button>
        <span v-html="pageAlert.html"></span>
      </div>

      @RenderBody()
    </template>
    <template v-else>
      <div class="text-center" style="margin-top: 100px">
        <img class="mt-3" src="../assets/images/loading.gif" />
        <p class="lead mt-3 text-nowrap">载入中，请稍后...</p>
      </div>
    </template>

  </div>
</body>

</html>

<script src="../assets/js/jquery-1.9.1.min.js?v=6.4.1" type="text/javascript"></script>
<script src="../assets/js/layer-3.1.1/layer.js?v=6.4.1" type="text/javascript"></script>
<script src="../assets/js/sweetalert-2.1.0.min.js?v=6.4.1" type="text/javascript"></script>
<script src="../assets/js/vue-2.5.16.min.js?v=6.4.1" type="text/javascript"></script>
<script type="text/javascript">
  var $apiConfig = { isSeparatedApi: @ApiManager.IsSeparatedApi.ToString().ToLower(), apiUrl: '@ApiManager.ApiUrl', innerApiUrl: '@ApiManager.InnerApiUrl'};
</script>
<script src="../assets/js/apiUtils.js?v=6.4.1" type="text/javascript"></script>
<script src="../assets/js/pageUtils.js?v=6.4.1" type="text/javascript"></script> @RenderSection("Scripts")